"=====
"  c
"=====
autocmd FileType c inoremap >> ->
autocmd FileType c inoremap , ,<space>
autocmd FileType c inoremap /// /**/<Left><Left>

"============
"vim
"============
autocmd FileType vim nnoremap <leader><SPACE> :w<CR>:source %<CR>:e<CR>
autocmd FileType vim nnoremap <leader>pi :PlugInstall<CR>
autocmd FileType vim nnoremap <leader>pc :PlugClean<CR>

"============
"  markdown
"============
autocmd FileType markdown inoremap <leader>fl ```flowchart<Enter>```<Esc>O
autocmd FileType markdown nnoremap <leader>fl i```flowchart<Enter>```<Esc>O
autocmd FileType markdown inoremap <leader>dj =>
autocmd FileType markdown inoremap >> ->
autocmd FileType markdown inoremap <leader>4 $$<Left>
autocmd FileType markdown inoremap <leader><leader>4 $$$$<Left><Left>
autocmd FileType markdown inoremap <leader><leader>s \overset
autocmd FileType markdown inoremap <leader><leader>x \underset
autocmd FileType markdown inoremap <leader>x \times
autocmd FileType markdown inoremap <leader>/ \div
